export default{
	data() {
		return {}
	},
	// 监听用户点击右上角菜单的「转发」按钮时触发的事件
	onShareAppMessage(res) {
		if (res.from === 'button') {
				 // 来自页面内分享按钮
				 console.log(res.target);
		}
		return {
			title: '萌芽学口算：学习好帮手',
			path: '/pages/cameraOcr/cameraOcr',
			mpId: 'wxf4bb2827eb886e51', //此处配置微信小程序的AppId
			imageUrl: 'https://fcz.oss-cn-beijing.aliyuncs.com/images/myxb.png'
		}
	},
	onShareTimeline(res) {
		return {
			title: '萌芽学口算：学习好帮手',
			path: '/pages/cameraOcr/cameraOcr',
			mpId: 'wxf4bb2827eb886e51', //此处配置微信小程序的AppId
			imageUrl: 'https://fcz.oss-cn-beijing.aliyuncs.com/images/myxb.png'
		}
	},
	// 收藏
	onAddToFavorites(res) {
		return {
			title: '萌芽学口算：学习好帮手',
			path: '/pages/cameraOcr/cameraOcr',
			mpId: 'wxf4bb2827eb886e51', //此处配置微信小程序的AppId
			imageUrl: 'https://fcz.oss-cn-beijing.aliyuncs.com/images/myxb.png'
		}
	}
}